package primary;

/**
 * swithc 语句
 */
public class L_Switch {

    public static void main(String[] args) {
        int month = (int) (1 + 23 * Math.random());
        System.out.println("month :" + month);
        switch (month) {
            case 1:
                System.out.println("now is  junary");
                break;
            case 2:
                System.out.println("now is febary");
                break;

            default:
                System.out.println("now is other");
                break;

        }
    }
}
